function test() {
            // 获取密码1和密码2的值
            var password = document.getElementById('password').value;
			var password = document.getElementById('username').value;

            if (!password || !username) {
                alert("请输入用户名及密码！");
                return; 
            }
			event.preventDefault();
			window.location.href = "http://127.0.0.1:8848/2024.12.6%E8%BD%AF%E5%B7%A5/css/%E6%A6%9C%E5%8D%95/%E6%80%BB%E6%A6%9C.html";
        }
